package cn.s1995.sloth.bizs.constant;

/**
 * KeyConstant
 *
 * @author penf
 * @description key常量类
 * @date 2019/12/14 18:08
 */
public interface RedisKeyCst {
    /**
     * *
     */
    String ASTERISK = "*";

    /**
     * 系统配置
     */
    String SETTINGS = "settings";

    /**
     * 省市区
     */
    String REGION = "region:";

    /**
     * token前缀[app]
     */
    String TOKEN = "token:";


    /**
     * 验证码
     */
    String VERIFY_CODE = "VERIFY_CODE:";

    /**
     * 短信发送次数
     */
    String SMS_SEND_NUM = "sms-send-num:";

    /**
     * 禁用短信
     */
    String SMS_DISABLED = "sms-disabled:";


    /**
     * 锁-创建订单
     */
    String ORDER_CREATE = "createOrder";
    /**
     * 锁-退款
     */
    String REFUND = "refund";

    /**
     * 锁-定时任务-取消超时未支付订单
     */
    String ORDER_CANCEL = "cancelOrder";

    /**
     * 锁-定时任务-系统自动确认收货订单
     */
    String ORDER_CONFIRM = "confirmOrder";

    /**
     * 锁-注册用户
     */
    String USER_REGISTER = "registerUser";



    /**
     * 用户访问
     */
    String USER_VISITOR = "userVisitor:";

}

